
 /**
 * IRoleDao.java.java.
 * User: BrianChen Date: 2012-6-7 下午10:52:13
 *
 * Copyright (c) 2009 Hewlett-Packard Development Company, L.P.
 * All rights reserved.
 */
package com.collapsar.core.security.dao;

import com.collapsar.core.security.model.Role;

/**
 * <pre>
 * REVISIONS: 
 * Version 	Date 		Author 			Description
 * ------------------------------------------------------------------- 
 * 1.0 		2012-6-7 	BrianChen 	1. Created this class. 
 * </pre>
 * 
 * @author BrianChen
 * @date 2012-6-7 下午10:52:13
 * @version 1.0
 * @see
 * 
 */
public interface IRoleDao {
	void storeRole(Role role);
	
	void deleteRole(Role role);
	void deleteAllRoles(Long roleIds[]);
	
	Role loadRole(Long roleId);
//	Role loadRoleWithUsers(Long roleId);
	
	Role getRoleByName(String roleName);
}

